<?php
namespace \Absidon\Http\Transport;
/**
 * Uses the stream_socket_client streams functionality to send requests.
 *
 * The stream_socket_client is much like fsockopen in that it supports streams, so has several
 * helper functions for handling functionality and non-blocking modes.
 *
 * @author Jacob Santos <webmaster@absidongames.com>
 * @package Absidon
 * @subpackage HTTP_Transport
 * @since 0.1
 * @license Simplified BSD License <http://www.opensource.org/licenses/bsd-license.html>
 * @license GNU Lesser General Public License 2.1 or later <http://www.opensource.org/licenses/lgpl-2.1.php>
 */

/**
 * Experimental transport using stream_socket_client for creating streams instead of fopen.
 *
 * Supports non-blocking and probably one of the few that does so as it should.
 *
 * @since 0.1
 */
class Stream_Client extends Component
{
	public function request()
	{
		/** @todo Complete. */
	}

	public function is_supported()
	{
		return function_exists('stream_socket_client');
	}
}